package com.feng.timu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.feng.timu.entity.QuRepo;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 试题题库 Mapper 接口
 * </p>
 *
 * @author feng
 * @since 2023-03-21 15:34:38
 */
@Mapper
public interface QuRepoMapper extends BaseMapper<QuRepo> {
    List<QuRepo> takeQu(@Param("repoId") String repoId,
                        @Param("quType") Integer quType,
                        @Param("num") Integer num,
                        @Param("excludeIds") List<String> excludeIds);
}
